package com.speed.config;

public final class Constant {
	// 私有化构造器是为了凸显这个是常量类，不能实例化
	private Constant() {
	}

	public static final String JDBC_URL_KEY = "jdbc.url";
	public static final String JDBC_USER_KEY = "jdbc.user";
	public static final String JDBC_PASSWORD_KEY = "jdbc.password";
	public static final String DEV_MODE = "dev.mode";
	public static final String REDIS_HOST = "redis.host";
	public static final String REDIS_PORT = "redis.port";
	public static final String REDIS_TIMEOUT = "redis.timeout";

	// -------------- 渲染页面后缀名---------------------------
	public static final String SUFFIX_HTML = ".html";
	public static final String SUFFIX_JSP = ".jsp";
	public static final String SUFFIX_VM = ".vm";

	// -----------------事务拦截正则表达式-------------------------
	public static final String[] TX_REGEX_ARY = { ".*save.", ".*regist*.", ".*del*.", ".*update.",".*add*.",".*sign*." };
	
	//=====================文件导入类型=========================
	public static final String TEAM_IMPORT = "TI";//团队导入
	public static final String PERSON_IMPORT = "PI";//个人导入
}
